package com.cl.es.po;


import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @program: springdata
 * @description:
 * @author: 陈亮
 * @create: 2022-03-04 23:10
 */
@Data
@Document(indexName = "student") // 映射得索引名字
public class Student implements Serializable {



    @Id
    private Long id;


    private String name;



}
